package com.zhuliwei.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuliwei.domain.ResponseResult;
import com.zhuliwei.domain.dto.RoleDto;
import com.zhuliwei.domain.entity.Role;
import com.zhuliwei.domain.vo.PageVo;

import java.util.List;


/**
 * 角色信息表(Role)表服务接口
 *
 * @author 朱力维
 * @since 2022-10-25 17:06:57
 */
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(String id);

    ResponseResult<PageVo> rolePageList(Integer pageNum, Integer pageSize, RoleDto roleDto);
}

